<title>附件管理</title>
<style>
    .attachment-body .layui-table-cell {
        height: 70px;
        line-height: 60px;
        /*width: 140px;*/
    }
</style>
<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>常规管理</cite></a>
        <a><cite>附件管理</cite></a>
    </div>
</div>

<div class="layui-fluid">
    <div class="layui-card">
        <!-- 检索 -->
        <!--    <div class="layui-form layui-card-header layuiadmin-card-header-auto laySearchForm" lay-filter="attachmentPage">-->
        <!--      <div class="layui-form-item">-->
        <!--        <div class="layui-inline">-->
        <!--          <label class="layui-form-label">组名</label>-->
        <!--          <div class="layui-input-block">-->
        <!--            <input type="text" name="name" operator="LIKE" render="tag" placeholder="请输入组名"-->
        <!--                   autocomplete="off" class="layui-input">-->
        <!--          </div>-->
        <!--        </div>-->
        <!--        <div class="layui-inline">-->
        <!--          <button class="layui-btn layuiadmin-btn-admin" lay-submit lay-filter="LAYSearch">-->
        <!--            <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>-->
        <!--          </button>-->
        <!--        </div>-->
        <!--      </div>-->
        <!--    </div>-->

        <div class="layui-card-body attachment-body">
            <div style="padding-bottom: 10px;">
                <script id="attachmentToolBar" type="text/html">
                    {{# if(common.checkAuth("del")){ }}
                    <button class="layui-btn layuiadmin-btn-admin layui-btn-danger" lay-event="batchDel"><i
                            class="layui-icon layui-icon-delete"></i>删除
                    </button>
                    {{# } }}
                </script>
            </div>
            <!-- 表格 -->
            <table id="attachmentTable" lay-filter="attachmentTable"></table>
            <!-- 操作 -->
            <script id="attachmentTableTool" type="text/html">
                {{# if(common.checkAuth("info")){ }}
                <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="info"><i
                        class="iconfont icon-chakanxiangqing1"></i>查看详情</a>
                {{# } }}
                {{# if(common.checkAuth("del")){ }}
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i
                        class="layui-icon layui-icon-delete"></i>删除</a>
                {{# } }}
            </script>
            <!-- 图片预览 -->
            <script id="attachmentImgPreview" type="text/html">
                <span><img style="max-height: 60px" src="{{ d.full_url }}"/></span>
            </script>
        </div>
    </div>
</div>

<script src="../web/res/js/routine/attachment/index.js"></script>
